// 售后服务类型
export const SERVICE_TYPE = {
  RETURN: 'return',
  EXCHANGE: 'exchange',
  REFUND: 'refund'
} as const

export type ServiceType = typeof SERVICE_TYPE[keyof typeof SERVICE_TYPE]

// 售后服务类型文本
export const SERVICE_TYPE_TEXT = {
  [SERVICE_TYPE.RETURN]: '退货',
  [SERVICE_TYPE.EXCHANGE]: '换货',
  [SERVICE_TYPE.REFUND]: '退款'
} as const

// 售后服务状态
export const SERVICE_STATUS = {
  PENDING: 'pending',
  PROCESSING: 'processing',
  COMPLETED: 'completed',
  REJECTED: 'rejected'
} as const

export type ServiceStatus = typeof SERVICE_STATUS[keyof typeof SERVICE_STATUS]

// 售后服务状态文本
export const SERVICE_STATUS_TEXT = {
  [SERVICE_STATUS.PENDING]: '待处理',
  [SERVICE_STATUS.PROCESSING]: '处理中',
  [SERVICE_STATUS.COMPLETED]: '已完成',
  [SERVICE_STATUS.REJECTED]: '已拒绝'
} as const 